package org.shan.lf.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.shan.lf.enums.DoctorVerifiedState;

/**
 * Created by amanda.shan on 2019-07-29.
 */
@Data
@ApiModel("医生详细信息")
@TableName("t_user_doctor")
public class UserDoctorInfo {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "账户id")
    private Integer account_id;

    @ApiModelProperty(value = "头像")
    private String pic;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别 M，F")
    private String gender;

    @ApiModelProperty(value = "所属医院id")
    private Integer hospitalId;

    @ApiModelProperty(value = "所属科室id")
    private Integer officeId;

    @ApiModelProperty(value = "职称")
    private String title;

    @EnumValue
    @ApiModelProperty(value = "审核状态，0未审核，1审核通过，2审核未通过")
    private DoctorVerifiedState verified;

    @ApiModelProperty(value = "审核失败备注")
    private String remark;
}
